package com.itheima.health.service;

import com.itheima.health.pojo.LoginCheck;
import com.itheima.health.pojo.User;

/**
 * @author zhangmeng
 * @description 用户服务接口
 * @date 2019/9/6
 **/
public interface MobileService {

    /**
     * 登陆短信验证
     *
     * @param type
     * @param telephone
     * @return
     */
    void checkCode(String type, String telephone);

    /**
     * 验证码校验
     * @param loginCheck
     * @return
     */
    Boolean loginCheck(LoginCheck loginCheck,String type);
}
